package aooO.crm.mapper;

import aooO.crm.pojo.User;

import java.util.List;
import java.util.Map;

public interface UserMapper {

    /***
     * 根据账号密码查询用户
     */
    User selectUserByLoginActAndPwd(Map<String,Object> map);

    /***
     * 查询所有有效用户
     * @return
     */
    List<User> selectAllUser();

    int updatePwd(Map<String,Object> map);

    int insertUser(User user);
}